/**
 * 
 */
package hottargui.domain.beta;

import hottargui.domain.PlaceUnitsStrategy;
import hottargui.domain.Player;
import hottargui.domain.Tile;

/**
 * @author Allan
 *
 */
public class BetaPlaceUnitsStrategyImpl implements PlaceUnitsStrategy {
	Tile t;
	Player p;
	/* (non-Javadoc)
	 * @see hottargui.domain.PlaceUnitsStrategy#isDeploymentValid(hottargui.domain.Player, hottargui.domain.Tile)
	 */
	public boolean isDeploymentValid(Player p, Tile t) {
		this.t = t;
		this.p = p;
		if (t.getOwnerColor() != p.getColor()){
			return false;
		}
		else{ 
			return true;
		}			
	}

}
